<div class="register">
    <form class="d_b ta_c" name="form">
        <div class="form_line ta_l p_r">
            <span class="icon account va_t d_ib"></span>
            <input ng-model="user.phone" validator="required,phone" name="phone" class="d_ib" type="text" placeholder="输入手机号">
        </div>
        <div class="form_line ta_l p_r">
            <span class="icon lock va_t d_ib"></span>
            <input ng-model="user.password" validator="required,password" name="password" class="d_ib" type="password" placeholder="设置6位以上的密码">
        </div>
        <div class="message_wrap ta_l p_r">
            <input validator="required" ng-model="user.code" name="code" class="message_box" placeholder="短信验证码" type="text">
            <span class="message f_r {{time?'disabled':''}}" ng-bind="time?time:'发送短信'" ng-click="time?1===1:send();"></span>
            <div class="clear"></div>
        </div>
        <button class="login_btn" ui-sref="login">登录</button>
        <button class="register_btn" validation-submit="form" ng-click="submit();">注册</button>
    </form>
</div>
